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

Fix redirect problem with signing in.
Merge pull request #40 from Ravenstine/master

Fix redirect problem with signing in