Implemented integration tests for registration and login using rest API.