Hopefully fixed login popups

I think opening the popup inside the pormise made browsers
not detect that the popup was opened upon user interaction.
Moving it out shoudl solve it.
Version 0.2.5
Merge branch 'master' of github.com:mondora/asteroid