Added checkPreAuth call before creating authenticated token

This add the support off enabled, expired, locked statuses when working with AdvancedUserInterface