Merge pull request #9692 from gaye/bug-870134

Bug 870134 - Redirect back to the account select view when we get access_denied