Added API registration

Added test user for login unit tests.