Fix issue #267
Merge pull request #279 from chrisballinger/fix-facebook-login

Fix issue #267