Add the ability to sign in without GitHub account

Added the ability to sign in without GitHub account.
Added and fixed tests.
Prefer `before_action` over `before_filter`.