Auth bugfix