Added 500 status code to User methods
Added getToken tests for retrieving token with unspecified email or password