cleaned up login test