_getMobileSecrets() expects the connection type to be passed, so do that. https://bugzilla.gnome.org/show_bug.cgi?id=658492
Using the new ShellNetworkAgent, show a system modal dialog (similar to the PolicyKit one) when NetworkManager needs secrets for connecting to wireless. https://bugzilla.gnome.org/show_bug.cgi?id=650244