assertions for Author#login