Tests modified to reach 87%. Sign in now redirects to previous page.
Tests added to 86.78%. Minor UI changes.