[DO NOT MERGE] Move AuthSession usage to after null check am: ee88f23c61

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12013474

Change-Id: I40bdc393160d458a61705cdccaede19200d1b8d3