Added a better version of authentication. It works with facebook and 
google.
After a successful attempt to log in the access token is stored in a 
cookie and reused until deleted or the user explicitly logs out.