Mac mini cannot login
Try using Recovery Mode to correct this issue. Change the affected user password with Recovery Mode and see if it works. If this doesn't work, you need to return this Mac to the Apple Store and have a Mac Genius check it out. It will save you many headaches to let them check it than trying to solve the issue yourself.