Fix warnings stubbing current_user