Added phpbb auth script and fixed some angular issues with loading the user from a cookie