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 because of a NullPointerException