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

...s accordingly.

Should have been in https://github.com/owncloud/core/pull/4968

Found out by my (future) LDAP tests.

@DeepDiver1975 @icewind1991 @schiesbn or others pls