Use username in authentication