minor login bugfix