added behat tests for social login, fixed bugs