Fix bugs in current_user assignment
Fix bug in Sign out link test after successful account creation and auto sign in