Fix for test_user_can_login_and_logout for mobile
Merge pull request #243 from AndreiH/mobile_fix_login_logout

Fix for test_user_can_login_and_logout for mobile