Fix for broken login

It is a one liner, so it may just be easier to add it manually. Can't figure out how to remove a commit from a pull, sorry. If you know how, please enlighten me. :)