change authenticate partner or admin method to only render flash if redirected