Crash fix in PortalAdapter

Received this crash report: http://crashes.to/s/650ee77b70a 
Seems like ```Session.getInstance().getClientConfig()``` returns null and thus the app crashes (```NullPointerException```)