Fix redirect problem with signing in.
Merge pull request #51 from Ravenstine/redirecting

Fix redirect problem with signing in.