Added login_user_test (closes ubpb/catalog#277)