remove flash messages for successful sign in and sign out. Also modified...

... respective tests.