Fixes a bug with login and persona

Issue related with https://github.com/mozilla/persona/issues/2647