Bugfix Authenticate