firefox login

Move content script code to popup.html.

Get rid of crypto, it's not available in firefox web worker.
I think so