Revert "Merge branch 'redirect_after_login' into 'master'"

This reverts commit 5aaa35656edaf309354528e197a54461f584ed21, reversing
changes made to 5b8c1767676b94f58558e6de320965c68b57de42.
Use devise stored_location to redirect after signing for both public and private pages.
Add in the tests.
Merge branch 'redirect_on_signin' into 'master'

Redirect on signin

Fixes #1346

See merge request !965
Improve login page behaviour

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'improve-login-page' into 'master'

Improve login page

* use max-width for brand logo to prevent stretch of small images
* improve default brand logo to be centred on any kind of screen
* hide logo for small screens
* hide text for xs screens
* reduce amount of text on sign-in page

Fixes #1423

See merge request !966