manager checkPassword now returns User object, adjust internal user class accordingly.
Missing Test for the previous commit
Merge pull request #4990 from owncloud/user_fix_manager

manager checkPassword now returns User object, adjust internal user clas...