Bugfix auth