Now with SSL! Bugfixes on login activity