Add the ability to sign in without GitHub account

Added the ability to sign in without GitHub account.
Added and fixed tests.
Line is too long. [135/100]<br>Prefer `before_action` over `before_filter`.