New implementation supporing iOS.
Merge branch 'pr/1'

Conflicts:
	dummy-sso.js
	logged-in.html
	login.html