'Post the login info'

def _login_response(self, email, password, patched_audit_log='student.views.AUDIT_LOG', extra_post_params=None):

    post_params = {'email': email, 'password': password}
    if (extra_post_params is not None):
        post_params.update(extra_post_params)
    with patch(patched_audit_log) as mock_audit_log:
        result = self.client.post(self.url, post_params)
    return (result, mock_audit_log)
