Fix for cross app auth