Fixed generation of user names for LDAP users
Switched from Date to Time API