Session based login.

Converted away from cookie based login - which is insecure. This brings FOF to session based logins.