Fixed redirect when authenticating with facebook