Fix spec assertion in events_spec

The method tested here inserts the authenticated users login into the url, so
in the assertion it looks for that same login which changes if the credentials
change causing the test to erroroneously fail.