removes :basic-authentication nil short-circuiting to pass error messages through to handler