Auth improvments.