Mp/authenticate user invalid userid

ping @opscode/server-team  @sdelano