Fixed the bug caused by logging in with an unknown user, caused by a bug with locomotive 0.3.2 (https://github.com/jaredhanson/locomotive/issues/161).