Login code for a site (not mine)

Yes i think.See here:

Also you can use set cookies method in the custom webview extension.(not sure)