Strip leading/trailing spaces from login

Title should be self-explanatory :tangerine: