successful api tests for login activity