NullPointer checks in logout

Check if eipStatus and mProgressBar are null in logout(), and if so fetch the objects with findViewById.
Login triggered if requested after provider switch

Request code for switching provider was not being considered in onActivityResult.
Merge branch 'bug/logout-crashes-if-the-dashboard-goes-to-background-#4634' into develop

Signed-off-by: Sean Leonard <meanderingcode@aetherislands.net>
Merge branch 'bug/login-button-from-Provider-Details-does-not-always-trigger-login-dialog-#4647' into develop

Signed-off-by: Sean Leonard <meanderingcode@aetherislands.net>