Fixed authentication manager issue.