Fixed issues with retain cycle within the authentication manager 

This fixes https://github.com/forcedotcom/SalesforceMobileSDK-iOS/issues/495